package com.dts.evaluate.utils;

import com.dts.evaluate.bean.FlowDataBean;
import com.dts.evaluate.bean.ProjectDataBean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by user on 2016/9/20.
 */

public class DataUtil {

    public static List<ProjectDataBean.ApproveProjectBean> getKbsxData(){
        List<ProjectDataBean.ApproveProjectBean> data = new ArrayList<>();
        for (int i = 0;i<10;i++){
            ProjectDataBean.ApproveProjectBean bean = new ProjectDataBean.ApproveProjectBean();
            bean.setAppprojectname("事项名称"+i);
            if(i == 5){
                bean.setIschild(1);
            }
            data.add(bean);
        }
        return data;
    }

    public static  List<FlowDataBean.FlowinfoBean> getFlowData(){
        List<FlowDataBean.FlowinfoBean> data = new ArrayList<>();
        for (int i = 0;i<7;i++){
            FlowDataBean.FlowinfoBean flowinfoBean = new FlowDataBean.FlowinfoBean();
            data.add(flowinfoBean);
        }
        return data;
    }
}
